import Vue from 'vue'
import App from './App.vue'
import router from './router'

Vue.config.productionTip = false

import axios from 'axios'
// axios.defaults.baseURL = 'https://mock.boxuegu.com/mock/'
axios.interceptors.response.use((response) => {
  return response.data
},err => {
  return Promise.reject(err)
})
Vue.prototype.$http = axios

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
